package com.scedu.springcloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.scedu.springcloud.springcloud.entity.CommonResult;

public class CustomerBlockHandler {
    public static CommonResult handlerException(BlockException exception){
        return  new CommonResult(444,"按客户自定义，global BlockException");
    }

    public static CommonResult handlerException1(BlockException exception){
        return  new CommonResult(444,"按客户自定义，global BlockException1");
    }
}
